#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2021/11/22 16:48
# @Author  : huidong.bai
# @File    : serializers.py
# @Software: PyCharm

from rest_framework.serializers import ModelSerializer

from testcase.models import SpeakerParams
from .models import SpeakerStatus


class SpeakerStatusSerializer(ModelSerializer):
    class Meta:
        model = SpeakerStatus
        fields = "__all__"


class SpeakerParamsSerializer(ModelSerializer):
    class Meta:
        model = SpeakerParams
        fields = ["url", "product_secret", "productId", "osClientId"]
